Skip to content

fix: MLFlow E2E Example Notebook (5513)#32

Closed
aviruthen wants to merge 1 commit intomasterfrom
fix/mlflow-e2e-example-notebook-5513
Closed

fix: MLFlow E2E Example Notebook (5513)#32
aviruthen wants to merge 1 commit intomasterfrom
fix/mlflow-e2e-example-notebook-5513

Conversation

@aviruthen
Copy link
Copy Markdown
Owner

Test PR

Copy link
Copy Markdown

@mufaddal-rohawala mufaddal-rohawala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 AI Code Review

This PR fixes two example notebooks: corrects Session.boto_region_name to Session().boto_region_name (instance vs class access), updates MLflow code for v3.x API compatibility, and replaces direct boto3 invoke_endpoint calls with V3-native core_endpoint.invoke(). The changes are well-aligned with V3 SDK conventions.

" order_by=['version_number DESC'],\n",
" max_results=1\n",
")\n",
"\n",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: The order_by parameter value 'version_number DESC' should be verified against the MLflow 3.x API. The documented field name for search_model_versions ordering is typically 'version_number', but some MLflow versions use 'creation_timestamp'. Please confirm this works with the MLflow version pinned in the notebook's dependencies to avoid a runtime error for users.

"from sagemaker.serve.mode.function_pointers import Mode\n",
"\n",
"# Cloud deployment to SageMaker endpoint\n",
"# Note: 'dependencies' parameter is deprecated. You may see a deprecation warning.\n",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment says "Use configure_for_torchserve() for new projects" — is this an actual method available in the current SDK? If not, this could confuse users. Please verify the method name or remove the suggestion if it doesn't exist yet.

@aviruthen aviruthen closed this Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants